This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
Your problem is the @Do(@Command([FileSave])... has already been done. ~Umberto Nongeroson 13.Jan.04 05:55 PM a Web browser Applications Development 6.0.3Windows NT
You are in the QuerySave which can not re-call itself with a [FileSave]. I would change your code a fair amount...
First off you are trying to validate the field PeriodEnding so put the code in the PeriodEnding input validation section.
@If(@IsDocBeingSaved; ""; @Return(@Success));
List := @Text(@DbLookup("":"NoCache"; ""; "ENL"; EmployeeName2; 2; [FAILSILENT]));
@If(PeriodEnding = ""; @Failure("The Period Ending field cannot be blank!"); @IsMember(@Text(PeriodEnding); List);
@Failure("You have entered a duplicate period-ending date. You can add only unique dates."); @Success)